﻿using FarmSmartSleep.Common.Domain.AubitFile;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FarmSmartSleep.Common.Domain.PM
{
    /// <summary>
    /// 后裔转种
    /// </summary>
    public class Descendants : Aubuit
    {
        [Key]
        public int DescendantsId { get; set; }//后裔转种编号
        public DateTime DescendantsDate { get; set; }//转种日期
        public int SleepInforId { get; set; }//档案编号(羊只耳号)
        /// <summary>
        /// 当前所在的栋舍
        /// </summary>
        public int CurrentBarn { get; set; }

        /// <summary>
        /// 当前所在的栏位
        /// </summary>
        public int CurrentPen { get; set; }

        /// <summary>
        /// 转入的栋舍
        /// </summary>
        public int TransferBarn { get; set; }

        /// <summary>
        /// 转入的栏位
        /// </summary>
        public int TransferPen { get; set; }
        public string? DescendantsCode { get; set; }//单据号
        public string? DescendantsLiu { get; set; }//流水号
    }
}
